<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<%@include file="Header.jsp"%><br/><br/>

	<h3>Redbox Account</h3>
	
	<%
		String errorMessage = (String)request.getAttribute("ErrorMessage");
		String username = "";
		if (errorMessage != null) {
			out.write(errorMessage);
			username = (String)request.getAttribute("username");
}
%>

	<form action = "/redbox/login" method = "post">	<br/>
	Username : <input type = "text" name = "username" value = "<%=username%>" ><br/>
	password : <input type = "password" name = "password"><br/><br/>
	<input type = "submit" value = "Signin">
	<input type = "reset" value = "cancel">
	
	</form>
	
	
	<%@include file="Footer.jsp"%>
</body>
</html>